/*
 * -----------------------------------------------------------------------------
 * ORDER SUMMARY COLUMN
 * -----------------------------------------------------------------------------
 */

#order-summary__number-of-items {
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

#order-summary__number-of-items span {
    font-weight: bold;
}

#order-summary__number-of-items.hide-products #order-summary__number-of-items__switch-sign {
    transform: scaleX(2) rotate(90deg);
}

#order-summary__number-of-items__switch-sign {
    transform: scaleX(2) rotate(-90deg);
    transition: .1s;
}

.order-summary__product {
    border-bottom: 1px solid #e4e4e4;
    display: flex;
    padding: 15px 0;
}

.order-summary__product-info {
    padding-left: 30px;
}

.order-summary__product-name {
}

.order-summary__product-quantity {
    margin-top: 10px;
}

#order-summary__total-info {
    background-color: #f2f3f5;
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 20px;
}

#order-summary__total-info table {
    width: 100%;
}

#order-summary__total-info table td {
    padding: 3px;
}

#order-summary__total-info table tbody tr:last-child td {
    padding-bottom: 20px;
}

#order-summary__total-info table td:last-child {
    text-align: right;
}

#order-summary__total-info table tfoot {
    border-top: 1px solid #e4e4e4;
}

#order-summary__total-info table tfoot td {
    font-weight: bold;
    padding-top: 20px;
}

/*
 * -----------------------------------------------------------------------------
 * FORM COLUMN
 * -----------------------------------------------------------------------------
 */

#payment-accordion dt {
    font-size: 22px;
}

.payment-form-group {
    display: inline-block;
    margin-top: 6px;
}

.two-payment-form-group {
    display: flex;
    justify-content: space-between;
}

.payment-form-group-w100 {
    width: 100%;
}

.payment-form-group-w50 {
    width: 45%;
}

label.required::after {
    content: '*';
    margin-left: 5px;
}

.payment-form-input {
    background-color: #fff;
    border: 1px solid #bbb;
    color: #111;
    display: block;
    outline: 0;
    padding: 10px;
    width: 100%;
}

.payment-form-input:focus {
    border-color: #111;
}

[for="address-line-2"] {
    cursor: pointer;
}

[for="address-line-2"]::before {
    content: '+';
    margin-right: 10px;
}

[for="address-line-2"].opened::before {
    content: '-';
}

#address-line-2 {
    display: none;
}

#payment-button {
    background-color: #7f187f;
    border: 1px solid #111;
    color: #fff;
    display: block;
    float: right;
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    width: 50%;
}

/*
 * -----------------------------------------------------------------------------
 * CARD ELEMENT
 * -----------------------------------------------------------------------------
 */

#card-element {
    border: 1px solid #bbb;
}

#card-element.StripeElement--focus {
    border-color: #111;
}

/* https://stripe.com/docs/stripe-js#elements */

/**
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */
.StripeElement {
    background-color: white;
    height: 40px;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

.wrapper {
    background: white;
}

.wrapper .container {
    padding: 35px 5px;
}

#payment-button {
    margin-top: 20px;
}

#checkout-container {
    margin-top: 20px;
}

#head-top section.toolbar .row {
    margin: 0px auto;
}

nav.trd-default-nav .row {
    margin: 0px auto;
}

.billing_address_switcher, .payment_switcher {
    border: 1px #D9D9D4 solid;
}

.billing_address_switcher label {
    cursor: pointer;
}

.billing_address_switcher input[type=radio], .payment_switcher input[type=radio] {
    margin-left: 6px;
    margin-right: 6px;
}

.same_as_shipping {
    border-radius: 5px 5px 0px 0px;
}

.not_same_as_shipping {
    border-top: 0px;
    border-radius: 0px 0px 5px 5px;
}

.billing_address_switcher, .payment_switcher {
    padding: 12px 0px 6px 14px;
}

.payment-header {
    font-size: 22px;
    font-weight: 700;
}

.billing-address-wrapper {
    margin-top: 35px;
}

.billing-address {
    padding: 14px 20px;
    background: #fafafa;
    border: 1px solid #d9d9d9;
    border-radius: 0px 0px 5px 5px;
    display: none;
}

#continue-to-payment-method {
    background-color: #7f187f;
    border: 1px solid #111;
    color: #fff;
    display: block;
    float: right;
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    width: 50%;
}

.return-to-shipping {
    color: #1c1b1b;
    margin-top: 30px;
    display: inline-block;
}

.return-to-shipping:hover {
    text-decoration: none;
    color: #1c1b1b;
}

.icon-svg--size-10 {
    width: 10px;
    height: 10px;
    -webkit-transition: all 0.2s cubic-bezier(0.3, 0, 0, 1);
    transition: all 0.2s cubic-bezier(0.3, 0, 0, 1);
    margin-right: 0.25em;
}

.return-to-shipping-text {
    vertical-align: middle;
}

.messages {
    padding-left: 0px !important;
}

#payment-button {
    margin-top: 20px;
}

[for="billing-address-line-3"].opened::before {
    content: '-';
}

[for="billing-address-line-3"]::before {
    content: '+';
    margin-right: 10px;
}

.payment-step-title {
    font-weight: 700;
    font-size: 20px;
}

.checkout-payment-accepted-title {
    text-align: right;
    color: #333;
    margin-top: 10px;
}

.credit-card-payment, .paypal-payment {
    padding: 18px 20px 26px;
    background: #fafafa;
    border: 1px solid #d9d9d9;
    border-radius: 0px 0px 5px 5px;
}

.payment_switcher label {
    cursor: pointer;
}

.paypal-payment {
    display: none;
}
